/*
 * @Author: xuhong
 * @Date: 2020-04-30 16:01:10
 * @LastEditTime: 2020-04-30 16:01:10
 * @FilePath: \my-admin\src\config\auth.js
 */


 import Cookies from 'js-cookie'


 export function getToken(TokenKey){
     return Cookies.get(TokenKey)
 }

 export function setToken(TokenKey,token){
     return Cookies.set(TokenKey,token)
 }

 export function removeToken(TokenKey){
     return Cookies.remove(TokenKey)
 }